//
//  ZYCollectionReusableView.m
//  Project_B
//
//  Created by dllo on 15/12/30.
//  Copyright © 2015年 ZY. All rights reserved.
//

#import "ZYCollectionReusableView.h"

@interface ZYCollectionReusableView ()

@property(nonatomic,strong)UILabel *label;

@end

@implementation ZYCollectionReusableView


-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
        _label = [[UILabel alloc]initWithFrame:CGRectMake(SCREEN_WIDTH/25                                                                                                                                                                                                                                                                                                                                     , 0, frame.size.width, frame.size.height)];
        _label.textColor = [UIColor colorWithHue:0 saturation:0 brightness:0.33 alpha:1];
        _label.font = [UIFont systemFontOfSize:18 * ADAPT_FONT];
        [self addSubview:_label];
        
        
    }
    return self;
}

-(void)setString:(NSString *)string{
    _string = string;
    
    self.label.text = string;
}


@end
